﻿package com.sorayume.visuals
{
	public class SY_Asset
	{
		private isLoaded: Boolean;
		private clip: Loader = null;
		private type:String = "";
		private url: String = "";

		public function Asset(url: String, type:String):Boolean 
		{
			/*if( checar_si_es_valido(url) ) 
			{
				this.url = url;
			}*/
		}

		public function load():Boolean 
		{
			if( !isLoaded )
			{
				//cargar mediante el Loader...
			}
		}

		public function getClip(): * 
		{
		if( !isLoaded ) 
		{
			return false;
		} 
		else 
		{
			return clip;
		}
	}
}
		
}